<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="com.uuticket.policy.*" %>
<%@ page import="com.uuticket.processor.*" %>
<%@ page import="java.util.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
out.print(Configuration.getDataSource());
Processor p = ProcessorFactory.getProcessor("CA");
List test = new ArrayList();
Map map = new HashMap();
map.put("carrier", "CA");
map.put("cityPair", "PEK-MUC");
map.put("outwardPlane","CA961");
map.put("returnPlane","CA962");
map.put("outwardDate","2010-01-10");
map.put("returnDate","2010-01-13");
map.put("time","0800,0800");
//map.put("time","0800");
map.put("passengerNo","1");
map.put("class","Y");
test.add(map);

List result = p.excuteQTE(test);
out.print(result);
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<script language="JavaScript" src="js/meizzDate1.js"></script>
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    This is my JSP page. <br>
    <input id="startDate" name="user.applyDate" type="text" onfocus="setday(this)" value="" readonly="readonly"/>
  </body>
</html>
